Version | ID |
---|---|
1.8.X | 0x08 |
1.9 | 0x1C |
1.12 | 0x1F |
1.13.1 | 0x29 |
1.14.4 | 0x2C |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x2C | Play | Server | Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand |
Location | Position | Block position | |||
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Cursor Position X | Float | The position of the crosshair on the block, from 0 to 1 increasing from west to east | |||
Cursor Position Y | Float | The position of the crosshair on the block, from 0 to 1 increasing from bottom to top | |||
Cursor Position Z | Float | The position of the crosshair on the block, from 0 to 1 increasing from north to south | |||
Inside block | Boolean | True when the player's head is inside of a block. |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x2C | Play | Server | Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand |
Location | Position | Block position | |||
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Cursor Position X | Float | The position of the crosshair on the block, from 0 to 1 increasing from west to east | |||
Cursor Position Y | Float | The position of the crosshair on the block, from 0 to 1 increasing from bottom to top | |||
Cursor Position Z | Float | The position of the crosshair on the block, from 0 to 1 increasing from north to south | |||
Inside block | Boolean | True when the player's head is inside of a block. |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x29 | Play | Server | Location | Position | Block position |
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand | |||
Cursor Position X | Float | The position of the crosshair on the block, from 0 to 1 increasing from west to east | |||
Cursor Position Y | Float | The position of the crosshair on the block, from 0 to 1 increasing from bottom to top | |||
Cursor Position Z | Float | The position of the crosshair on the block, from 0 to 1 increasing from north to south |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x29 | Play | Server | Location | Position | Block position |
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand | |||
Cursor Position X | Float | The position of the crosshair on the block, from 0 to 1 increasing from west to east | |||
Cursor Position Y | Float | The position of the crosshair on the block, from 0 to 1 increasing from bottom to top | |||
Cursor Position Z | Float | The position of the crosshair on the block, from 0 to 1 increasing from north to south |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x1F | Play | Server | Location | Position | Block position |
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand | |||
Cursor Position X | Float | The position of the crosshair on the block, from 0 to 1 increasing from west to east | |||
Cursor Position Y | Float | The position of the crosshair on the block, from 0 to 1 increasing from bottom to top | |||
Cursor Position Z | Float | The position of the crosshair on the block, from 0 to 1 increasing from north to south |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x1F | Play | Server | Location | Position | Block position |
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand | |||
Cursor Position X | Float | The position of the crosshair on the block, from 0 to 1 increasing from west to east | |||
Cursor Position Y | Float | The position of the crosshair on the block, from 0 to 1 increasing from bottom to top | |||
Cursor Position Z | Float | The position of the crosshair on the block, from 0 to 1 increasing from north to south |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x1F | Play | Server | Location | Position | Block position |
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand | |||
Cursor Position X | Float | The position of the crosshair on the block, from 0 to 1 increasing from west to east | |||
Cursor Position Y | Float | The position of the crosshair on the block, from 0 to 1 increasing from bottom to top | |||
Cursor Position Z | Float | The position of the crosshair on the block, from 0 to 1 increasing from north to south |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x1C | Play | Server | Location | Position | Block position |
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand | |||
Cursor Position X | Float | The position of the crosshair on the block, from 0 to 1 increasing from west to east | |||
Cursor Position Y | Float | The position of the crosshair on the block, from 0 to 1 increasing from bottom to top | |||
Cursor Position Z | Float | The position of the crosshair on the block, from 0 to 1 increasing from north to south |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x1C | Play | Server | Location | Position | Block position |
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand | |||
Cursor Position X | Float | The position of the crosshair on the block, from 0 to 1 increasing from west to east | |||
Cursor Position Y | Float | The position of the crosshair on the block, from 0 to 1 increasing from bottom to top | |||
Cursor Position Z | Float | The position of the crosshair on the block, from 0 to 1 increasing from north to south |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x1C | Play | Server | Location | Position | Block position |
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand | |||
Cursor Position X | Float | The position of the crosshair on the block, from 0 to 1 increasing from west to east | |||
Cursor Position Y | Float | The position of the crosshair on the block, from 0 to 1 increasing from bottom to top | |||
Cursor Position Z | Float | The position of the crosshair on the block, from 0 to 1 increasing from north to south |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x1C | Play | Server | Location | Position | Block position |
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand | |||
Cursor Position X | Unsigned Byte | The position of the crosshair on the block, from 0 to 15 increasing from west to east | |||
Cursor Position Y | Unsigned Byte | The position of the crosshair on the block, from 0 to 15 increasing from bottom to top | |||
Cursor Position Z | Unsigned Byte | The position of the crosshair on the block, from 0 to 15 increasing from north to south |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x1C | Play | Server | Location | Position | Block position |
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand | |||
Cursor Position X | Unsigned Byte | The position of the crosshair on the block, from 0 to 15 increasing from west to east | |||
Cursor Position Y | Unsigned Byte | The position of the crosshair on the block, from 0 to 15 increasing from bottom to top | |||
Cursor Position Z | Unsigned Byte | The position of the crosshair on the block, from 0 to 15 increasing from north to south |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x1C | Play | Server | Location | Position | Block position |
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand | |||
Cursor Position X | Unsigned Byte | The position of the crosshair on the block, from 0 to 15 increasing from west to east | |||
Cursor Position Y | Unsigned Byte | The position of the crosshair on the block, from 0 to 15 increasing from bottom to top | |||
Cursor Position Z | Unsigned Byte | The position of the crosshair on the block, from 0 to 15 increasing from north to south |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x1C | Play | Server | Location | Position | Block position |
Face | VarInt Enum | The face on which the block is placed (as documented at Player Digging) | |||
Hand | VarInt Enum | The hand from which the block is placed; 0: main hand, 1: off hand | |||
Cursor Position X | Unsigned Byte | The position of the crosshair on the block, from 0 to 15 increasing from west to east | |||
Cursor Position Y | Unsigned Byte | The position of the crosshair on the block, from 0 to 15 increasing from bottom to top | |||
Cursor Position Z | Unsigned Byte | The position of the crosshair on the block, from 0 to 15 increasing from north to south |
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x08 | Play | Server | Location | Position | Block position |
Face | Byte | The face on which the block is placed (see above) | |||
Held Item | Slot | ||||
Cursor Position X | Byte | The position of the crosshair on the block | |||
Cursor Position Y | Byte | ||||
Cursor Position Z | Byte |